TLA_Media\GTM_Kit\Integration\WooCommerce D

Total Complexity 128
Dependencies 13
Dependents 1
Total lines 1,075
Lines of code 649
Logical lines of code 332
Comment lines 237
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
get_datalayer_content_order_received()
C
30 21 117
get_coupon_discount()
A
45 14 40
get_item_data()
A
45 10 37
get_datalayer_content()
A
47 9 33
enqueue_scripts()
S
49 6 34
get_item_data_tag()
S
52 5 24
get_datalayer_content_product_page()
S
54 5 20
get_global_data()
S
54 5 19
get_cart_items()
S
51 4 27
set_list_name_on_category_and_tag()
S
62 5 11
cart_item_remove_link()
S
53 4 25
get_datalayer_content_checkout()
S
55 4 19
register()
S
42 1 60
has_woocommerce_blocks()
S
61 4 11
get_datalayer_content_cart()
S
57 3 17
product_list_loop_add_to_cart_tracking()
S
54 2 23
Compatibility_With_TI_Wishlist()
S
67 3 8
extend_store()
S
57 1 20
get_global_settings()
S
54 1 19
instance()
S
65 2 9
get_datalayer_content_product_tag()
S
70 2 6
get_datalayer_content_product_category()
S
70 2 6
set_list_name_in_woocommerce_loop()
S
66 2 8
get_payment_method()
S
69 2 7
prefix_item_id()
S
74 2 4
extend_product_schema()
S
66 1 9
extend_cart_data()
S
73 1 5
__construct()
S
72 1 5
single_product_add_to_cart_tracking()
S
72 1 5
extend_product_data()
S
73 1 5
set_list_name_in_woocommerce_loop_filter()
S
74 1 5
product_block_add_to_cart_tracking()
S
74 1 4
grouped_product_add_to_cart_tracking()
S
74 1 4
get_woocommerce_blocks()
S
81 1 3